home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / util / libs / graphics3d.lha / src / library / graphics3Df_proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-16  |  4.3 KB  |  128 lines

  1. /*
  2. **      $VER: graphics3Df_proto.h 10.01 (01.11.97)
  3. **
  4. **      Functions prototypes for graphics3D.library
  5. **
  6. **      (C) Copyright 97 Patrizio Biancalani
  7. **      All Rights Reserved.
  8. */
  9.  
  10. struct ambient3d *GD_display3d(REG(a0)struct Window *win,REG(d0)long int x0,
  11.         REG(d1)long int y0,REG(d2)long int scrw, 
  12.         REG(d3)long int scrh,REG(d4)long int vdist);
  13.  
  14. long int GD_clipbox(REG(a0)struct ambient3d *in,REG(d0)long int minx,
  15.        REG(d1)long int miny,REG(d2)long int dx,REG(d3)long int dy);
  16.  
  17. void GD_cls_b(REG(a0)struct ambient3d *in,REG(d0)long int x0,
  18.     REG(d1)long int y0,REG(d2)long int x1,REG(d3)long int y1);
  19.  
  20. void GD_over(REG(a0)struct ambient3d *in,REG(d0)long int mod);
  21.  
  22. void GD_close_display3d(REG(a0)struct ambient3d *in);
  23.  
  24. long int GD_changeviewmode(REG(a0)struct ambient3d *in,
  25.     REG(d0)long int modo,REG(d1)long int b_col);
  26.  
  27. long int GD_changeviewmodeobj(REG(a0)struct ambient3d *in,
  28.     REG(d0)long int modo);
  29.  
  30. long int GD_colldetect(REG(a0)struct ambient3d *in, REG(d0)long int n, REG(a1)long int *buf);
  31.  
  32. long int GD_genpalette(REG(a0)struct ambient3d *in, REG(a1)struct tag3d *new);
  33.  
  34. void GD_touchpalette(REG(a0)struct ambient3d *in,REG(d0)long int fr,
  35.     REG(d1)long int lr,REG(a1)struct rgbtype *init_color,
  36.     REG(a2)struct rgbtype *last_color);
  37.  
  38. void GD_moveforward(REG(a0)struct ambient3d *in,REG(d0)long int dist);
  39.  
  40. void GD_viewangle(REG(a0)struct ambient3d *in,REG(d0)long int ax,
  41.     REG(d1)long int ay,REG(d2)long int az);
  42.  
  43. void GD_frustum(REG(a0)struct ambient3d *in,REG(d0)long int near,
  44.     REG(d1)long int far);
  45.  
  46. void GD_createlightsource(REG(a0)struct ambient3d *in,REG(d0)long int x,
  47.     REG(d1)long int y,REG(d2)long int z);
  48.  
  49. void GD_ambientlight(REG(a0)struct ambient3d *in,REG(d0)long int inte);
  50.  
  51. void GD_positioncamera(REG(a0)struct ambient3d *in,REG(d0)long int x,
  52.     REG(d1)long int y,REG(d2)long int z);
  53.  
  54. void GD_aspectratio(REG(a0)struct ambient3d *in,REG(d0)long int ratio);
  55.  
  56. void GD_clipmode(REG(a0)struct ambient3d *in,REG(d0)long int mode);
  57.  
  58. long int GD_newobj(REG(a0)struct ambient3d *in,
  59.     REG(a1)char *name,REG(d0)long int pol,REG(d1)long int vert); 
  60.  
  61. void GD_deleteobject(REG(a0)struct ambient3d *in);
  62.  
  63. long int GD_addobjvertex(REG(a0)struct ambient3d *in,
  64.     REG(d0)long int num,REG(d1)long int x,REG(d2)long int y,
  65.     REG(d3)long int z);
  66.  
  67. long int GD_addobjpoly(REG(a0)struct ambient3d *in, 
  68.     REG(d0)long int num,REG(d1)long int p1,REG(d2)long int p2,
  69.     REG(d3)long int p3,REG(d4)long int p4);
  70.  
  71. long int GD_modobj(REG(a0)struct ambient3d *in, REG(a1)struct tag3d *new);
  72.  
  73. long int GD_modpoly(REG(a0)struct ambient3d *in, REG(a1)struct tag3d *new);
  74.  
  75. long int GD_cattpoly(REG(a0)struct ambient3d *in,
  76.     REG(d0)long int num,REG(d1)long int color,REG(d2)long int twoside);
  77.  
  78. long int GD_setobj(REG(a0)struct ambient3d *in,REG(d0)long int num);
  79.  
  80. long int GD_getobj(REG(a0)struct ambient3d *in);
  81.  
  82. void GD_translateobject(REG(a0)struct ambient3d *in,
  83.     REG(d0)long int dx,REG(d1)long int dy,REG(d2)long int dz);
  84.  
  85. void GD_positionobject(REG(a0)struct ambient3d *in,
  86.     REG(d0)long int x,REG(d1)long int y,REG(d2)long int z);
  87.  
  88. void GD_scaleobject(REG(a0)struct ambient3d *in,
  89.     REG(d0)long int xscale_fact,REG(d1)long int yscale_fact,
  90.     REG(d2)long int zscale_fact);
  91.  
  92. void GD_rotateobject(REG(a0)struct ambient3d *in,
  93.     REG(d0)long int angle_x,REG(d1)long int angle_y,
  94.     REG(d2)long int angle_z);
  95.  
  96. long int GD_pickobj(REG(a0)struct ambient3d *in,REG(a1)long int *np,
  97.     REG(d0)long int x,REG(d1)long int y);
  98.  
  99. long int GD_newtmap(REG(a0)struct ambient3d *in, REG(d0)short int dx,
  100.     REG(d1)short int dy, REG(a1)unsigned char *buf);
  101.  
  102. long int GD_newtmapf(REG(a0)struct ambient3d *in, REG(a1)unsigned char *name);
  103.  
  104. void GD_rmtmap(REG(a0)struct ambient3d *in, REG(a1)struct buftmap *id);
  105.  
  106. void GD_rgb4(REG(a0)struct ambient3d *in,REG(d0)long int n,
  107.     REG(d1)long int red,REG(d2)long int green,REG(d3)long int blue); 
  108.  
  109. struct RastPort *GD_paintframe(REG(a0)struct ambient3d *in);
  110.  
  111. void GD_newview(REG(a0)struct ambient3d *in);
  112.  
  113. void GD_recalcobj(REG (a0)struct ambient3d *in);
  114.  
  115. long int GD_cascene( REG(a0)struct ambient3d *in, REG(a1)struct tag3d *new);
  116.  
  117. long int GD_int2fix( REG(a0)long int *in, REG(a1)long int *out);
  118.  
  119. long int GD_fix2int( REG(a0)long int *in, REG(a1)long int *out);
  120.  
  121. long int GD_sfl2fix( REG(a0)float  *in, REG(a1)long int *out);
  122.  
  123. long int GD_fix2sfl( REG(a0)long int *in, REG(a1)float  *out);
  124.  
  125. long int GD_dfl2fix( REG(a0)double *in, REG(a1)long int *out);
  126.  
  127. long int GD_fix2dfl( REG(a0)long int *in, REG(a1)double *out);
  128.